package hms.employees;

import hms.database.DBRowList;

/**
 * A collection and control class for the Employee class. Upon instantation, the
 * contents of the Employee database are loaded into this collection.
 * 
 * @author Ben
 */
public class EmployeeControl extends DBRowList<Employee> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4468928304698521322L;

	/**
	 * Creates a new EmployeeControl and fills it from the database.
	 */
	public EmployeeControl() {
		super();
		this.fillFromDatabase();
	}

	@Override
	public void fillFromDatabase() {
		fillFromDatabase(Employee.class);
	}

}
